/**
 * @(#) Player.java
 */

package mancala.model;

import java.util.LinkedList;
import java.util.List;
import javax.swing.JLabel;
import java.util.Collection;

public class Player extends JLabel
{
	private String name;
	
	private java.util.LinkedList<Pit> pits;
	
	private boolean active;
	
	private int id;
	
	public void setName( String name )
	{
		this.name=name;
	}
	
	public String getName( )
	{
		return name;
	}
	
	public void setPits( LinkedList pits )
	{
		this.pits=pits;
	}
	
	public LinkedList getPits( )
	{
		return pits;
	}
	
	public void setId( int id )
	{
		this.id=id;
	}
	
	public int getId( )
	{
		return id;
	}
	
	public void setActive( boolean active )
	{
		this.active=active;
	}
	
	public boolean isActive( )
	{
		return active;
	}
	
	
}
